home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl780
/
supmaclj.lzh
/
FLOPPY.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-17
|
5KB
|
162 lines
ECHO OFF
IF "%1"=="" GOTO ONE
IF "%2"=="" GOTO ONE
GOTO TWO
:ONE
CLS
ECHO ┌─────────────────────────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ │
ECHO │ Command line syntax error! it should look like: │
ECHO │ │
ECHO │ FLOPPY [source drive] [target drive] [RETURN] │
ECHO │ │
ECHO │ Example: FLOPPY A B [RETURN] │
ECHO │ │
ECHO │ See README.TXT in Disk 3 for details (For 360K disks) │
ECHO │ See README.TXT in Disk 2 for details (For 720K disks) │
ECHO │ See README.TXT for details (For 1.2M or 1.44M disk) │
ECHO │ │
ECHO │ * * * P L E A S E S T A R T A G A I N * * * │
ECHO │ │
ECHO │ │
ECHO └─────────────────────────────────────────────────────────────────────────┘
GOTO END
:TWO
CLS
ECHO Welcome
ECHO ═══════
ECHO ┌─────────────────────────────────────────────────────────────────────────┐
ECHO │ During the installation you will be prompted to insert the ORIGINAL │
ECHO │ disks (came in this package) in the source drive and pre-FORMATTED │
ECHO │ compatible disk into the target drive. Example: if you have purchesed │
ECHO │ the Macro Library on 1.2M 5.25" disks you are expected to install the │
ECHO │ Macro Library into the same type of disks. │
ECHO ├─────────────────────────────────────────────────────────────────────────┤
ECHO │ See full details in the README.TXT file │
ECHO └─────────────────────────────────────────────────────────────────────────┘
PAUSE
:LOOP1
IF EXIST %1:MANAGERS.EXE GOTO CONT10
IF EXIST %1:DISK4.EXE GOTO CONT20
IF EXIST %1:DISK1.EXE GOTO CONT1
ECHO * * * WRONG DISK! SHOULD BE DISK 1 * * *
GOTO LOOP1
:CONT1
ECHO Insert ORIGINAL disk 1 in drive %1:
ECHO *
ECHO *
ECHO Insert FORMATTED disk 1 in drive %2:
PAUSE
%2:
%1:DISK1
ECHO Insert formatted disk No. 2 in drive %2:
PAUSE
CD\
%1:DISK2
ECHO Insert formatted disk No. 3 in drive %2:
PAUSE
CD\
%1:DISK3
REM COPY %1:README.TXT
:LOOP2
ECHO Insert ORIGINAL disk 2 in drive %1:
ECHO *
ECHO *
ECHO Insert formatted disk No. 4 in drive %2:
PAUSE
IF EXIST %1:DISK4.EXE GOTO CONT2
ECHO * * * WRONG DISK! SHOULD BE DISK 2 * * *
GOTO LOOP2
:CONT2
%2:
CD\
%1:DISK4
ECHO Insert formatted disk No. 5 in drive %2:
PAUSE
%2:
CD\
%1:DISK5
ECHO Insert formatted disk No. 6 in drive %2:
PAUSE
CD\
%2:
%1:SCIENCE
:LOOP3
ECHO Insert ORIGINAL disk 3 in drive %1:
ECHO *
ECHO *
ECHO Insert formatted disk No. 7 in drive %2:
PAUSE
IF EXIST %1:MANAGERS.EXE GOTO CONT3
ECHO * * * WRONG DISK! SHOULD BE DISK 3 * * *
GOTO CONT3
:CONT10
:LOOP1A
ECHO Insert ORIGINAL disk 1 in drive %1:
ECHO *
ECHO *
ECHO Insert FORMATTED disk 1 in drive %2:
PAUSE
IF EXIST %1:DISK1.EXE GOTO CONT1A
ECHO * * * WRONG DISK! SHOULD BE DISK 1 * * *
GOTO LOOP1A
:CONT1A
%2:
%1:DISK1
CD CONTINUE
%1:DISK2 /x
%1:DISK3 /x
ECHO Insert FORMATTED disk 2 in drive %2:
PAUSE
%1:DISK4
%1:DISK5
MD SCIENCE
CD SCIENCE
%1:SCIENCE
GOTO CONT3
:CONT20
:LOOP1B
IF EXIST %1:DISK1.EXE GOTO CONT1B
ECHO * * * WRONG DISK! SHOULD BE DISK 1 * * *
GOTO LOOP1B
:CONT1B
%2:
%1:DISK1
CD CONTINUE
%1:DISK2 /x
ECHO Insert FORMATTED disk 2 in drive %2:
PAUSE
%1:DISK3
%1:DISK4
ECHO Insert FORMATTED disk 3 in drive %2:
PAUSE
%1:DISK5
MD SCIENCE
CD SCIENCE
%1:SCIENCE
ECHO Insert ORIGINAL disk 2 in drive %1:
ECHO *
ECHO *
ECHO Insert FORMATTED disk 4 in drive %2:
PAUSE
:CONT3
%2:
CD\
%1:MANAGERS
COPY %1:*.BAT
COPY %1:*.DOC
COPY %1:*.TXT
COPY %1:TV.*
CLS
ECHO Insert formatted disk marked as BOOK in drive %2
pause
%2:
CD\
%1:SUPER
CLS
ECHO ┌────────────────────────────────────────────┐
ECHO │ FLOPPY DISK INSTALLATION COMPLETED! │
ECHO └────────────────────────────────────────────┘
:END